//
//  Home_CollectionReusableViewCycle.m
//  EggSteward
//
//  Created by 王道林 on 16/8/30.
//  Copyright © 2016年 王道林. All rights reserved.
//

#import "Home_CollectionReusableViewCycle.h"
#import "WDLCycleView.h"

@interface Home_CollectionReusableViewCycle ()<WDLCycleDelegate>
@property (nonatomic, strong) WDLCycleView *cycleView;
@end
@implementation Home_CollectionReusableViewCycle






- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
       _cycleView = [[WDLCycleView alloc] initWithFrame:frame];
        _cycleView.delegate = self;
        [self addSubview:_cycleView];
    }
    return self;
}

- (void)setMarr:(NSMutableArray *)marr
{
//    _marr = marr;
    _cycleView.arrayImage = marr;
//    NSLog(@"%@",_marr);
    
}
// 实现代理方法
- (void)backModel:(Home_CycleModel *)model
{
    _blockModel(model);
}


@end
